@extends('layouts.home')
@section('title','金汇智谷——首页')
@section('addstyle')
	<link rel="stylesheet" type="text/css" href="{{asset('resources/views/home/css/main.css')}}">
	<script type="text/javascript" src="{{asset('resources/views/home/js/main.js')}}"></script>
@endsection
@section('content')	

	<!-- 轮播图代码开始 -->
	<div class="loop center" id="loop">
		
		<ul>
			@foreach($banner as $b)
			<li><a href="{{$b->banner_link}}" title="{{$b->banner_title}}"><img src="{{$b->banner_thumb}}"></a></li>
			@endforeach
		</ul>

		<div id="btn">
			<?php $i=1; ?>
			@foreach($banner as $b)
				@if($i==1)
				<span class="active">1</span>
				@else
				<span>{{$i}}</span>
				@endif
			<?php $i++; ?>
			@endforeach
		</div>

		<div id="pubbtn">
			<a href="{{url('admin/need/create')}}" id="neebtn">发布需求</a>
			<a href="{{url('admin/fruit/create')}}" id="frubtn">发布成果</a>
		</div>

		<a href="javascript:;" id="prev" class="arrow">&lt;</a>
		<a href="javascript:;" id="next" class="arrow">&gt;</a>

	</div>
	<!-- 轮播图代码结束 -->
	<!--taocan begin-->
	<div class="w100con hometaocan">
		
	    <div class="container">
			<div class="row">
				<div class="col-md-12">
					<div class="title">
						推荐技术
						<span class="k"></span>
					</div>
				</div>
			</div>
		    <div class="row">
		@foreach($frudata as $f)
			<div class="col-md-3">
				<div class="htaocan-con center-block">
            <div style="width: 280px; height: 175px;">
            <img style="width: 280px; height: 175px;" src="{{$f->fru_thumb}}">
						</div>
						<div class="htitle">
						{{$f->fru_name}}
						</div>
						<div class="hbtn">
							<a href="{{url('fruit/'.$f->fru_id)}}" class="btn btn-danger">查看详情</a>
						</div>
					</div>
			</div>
		@endforeach
		</div>	
	</div>	
	</div>
	<!--taocan end-->
	<!--news begin-->
	<div class="w100con news bggrey">
		<div class="container">
			<div class="row">
				<div class="col-md-12">
					<div class="title">
						科技需求 && 科技评估
						<span class="k"></span>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-12">
					<div class="clearfix news-content">
						<div class="news-content-right" style="float: left;">
							<div class="content-right-top">
								<div class="htitle clearfix mb10">
									科技需求
									<a href="{{url('need')}}"><h6>更多</h6></a>
								</div>
								<div class="txtMarquee-top">
								<div class="bd">
								<ul class="infoList">
					@foreach($needata as $n)
                  <li class="clearfix"><a href="{{url('need/'.$n->nee_id)}}" class="cut">{{$n->nee_name}}</a><span>{{date('Y-m-d',$n->nee_time)}}</span></li>
					@endforeach
                </ul>
								</div>
								</div>
							</div>
						</div>

						<div class="news-content-right">
							<div class="content-right-top">
								<div class="htitle clearfix mb10">
									科技评估
									<a href="{{url('assess')}}"><h6>更多</h6></a>
								</div>
								<div class="txtMarquee-top">
								<div class="bd">
								<ul class="infoList">
					@foreach($assdata as $a)
                  <li class="clearfix"><a href="{{url('assess/'.$a->ass_id)}}" class="cut">{{$a->ass_name}}</a><span>{{date('Y-m-d',$a->ass_time)}}</span></li>
					@endforeach
                </ul>
								</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--news end-->

	<!--news begin-->
	<div class="w100con news">
		<div class="container">
			<div class="row">
				<div class="col-md-12">
					<div class="title">
						科技金融 && 孵化中心
						<span class="k"></span>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-md-12">
					<div class="clearfix news-content">
						<div class="news-content-right" style="float: left;">
							<div class="content-right-top">
								<div class="htitle clearfix mb10">
									科技金融
									<a href="{{url('bank')}}"><h6>更多</h6></a>
								</div>
								<div class="txtMarquee-top">
								<div class="bd">
								<ul class="infoList">
					@foreach($bandata as $b)
                  <li class="clearfix"><a href="{{url('bank/'.$b->ban_id)}}" class="cut">{{$b->ban_name}}</a><span>{{date('Y-m-d',$b->ban_time)}}</span></li>
					@endforeach
                </ul>
								</div>
								</div>
							</div>
						</div>

						<div class="news-content-right">
							<div class="content-right-top">
								<div class="htitle clearfix mb10">
									孵化中心
									<a href="{{url('hatch')}}"><h6>更多</h6></a>
								</div>
								<div class="txtMarquee-top">
								<div class="bd">
								<ul class="infoList">
					@foreach($hatdata as $h)
                  <li class="clearfix"><a href="{{url('hatch/'.$h->hat_id)}}" class="cut">{{$h->hat_name}}</a><span>{{date('Y-m-d',$h->hat_time)}}</span></li>
					@endforeach
                </ul>
								</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--news end-->
	<!--我们的优势 begin-->
	<div class="w100con advantage bggrey">
		<div class="container">
			<div class="row">
				<div class="col-md-4">
					<div class="adcircle center-block">
						<span>活</span>
					</div>
					<div class="f18 fred text-center mt20">
						活动中心
					</div>
				</div>
				<div class="col-md-4">
					<div class="adcircle center-block">
						<span>专</span>
					</div>
					<div class="f18 fred text-center mt20">
						专利信息库
					</div>
				</div>
				<div class="col-md-4">
					<div class="adcircle center-block">
						<span>我</span>
					</div>
					<div class="f18 fred text-center mt20">
						关于金汇智
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--我们的优势 end-->

@endsection
